﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/web.master" CodeBehind="maintenance_visit_upload_bulk.aspx.cs" Inherits="Shuba.Web.bulk_upload.maintenance_visit_upload_bulk" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="text" border="0" width="100%" cellspacing="0" cellpadding="2">
	    <tr>
		    <td class="text bg_content" bgcolor="#FFFFFF" align="center"><p>&nbsp;</p>
			    <table class="black" border="0" width="95%" cellspacing="0" cellpadding="0">
				    <tr>
					    <td class="title_back" align="left">
					        <table class="text" border="0" width="100%" cellspacing="0" cellpadding="0">
					        <tr>
					        <td class="title_back2" width="2%">&nbsp;</td>
					        <td class="title_back2 title_white" width="30%"><asp:Label ID="LabelTitle" runat="server" Text="Label"></asp:Label></td>
					        <td><span class="title_right"></span></td>
					        </tr>
					        </table>
                        </td>
					    <td class="title_back" align="right">
					    <a class="text" href="maintenance_visit_monitoring.aspx">Maintenance Visit Monitoring List</a>&nbsp;&nbsp;
					    </td>
				    </tr>
				    <tr>
					    <td colspan="2" class="border_nobottom bg_subtitle_white">&nbsp; Upload</td>
				    </tr>
				    <tr>
				    <td class="border_nobottom" colspan="2">
				        <table class="text" border="0" width="100%" cellspacing="0" cellpadding="2">
					        <tr>
						        <td class="bg_grid" align="right" Width="25%">File Name</td>
						        <td class="bg_grid2" align="left">
                                    <asp:FileUpload ID="FileUpload1" Width="60%" CssClass="text" runat="server" />
                                    <asp:RegularExpressionValidator
                                    id="FileUpLoadValidator" runat="server"
                                    ErrorMessage="Upload zip with tab delimited only, or other error, please check your file"
                                    ValidationExpression="^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w].*))(.zip|.ZIP)$"
                                    ControlToValidate="FileUpload1">
                                    </asp:RegularExpressionValidator>
                                </td>
					        </tr>
					        <tr runat=server id="status" visible=false>
						        <td class="bg_grid" align="right">Status</td>
						        <td class="bg_grid2" align="left"><asp:Literal ID="lblStatus" runat="server"></asp:Literal></td>
					        </tr>                            
							    <tr>
								    <td class="border bg_footer" colspan="2" align=right>
									    <asp:Button ID="btnUpload" runat="server" Text="Upload" CssClass="buttonsmall" onclick="btnUpload_Click" />
                        <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="buttonsmall" CausesValidation="False" onclick="btnCancel_Click" />
								    </td></tr>
				        </table>
				    </td>
				    </tr>
              </table>
	        </td>
        </tr>
    </table>
    <p>&nbsp;</p>
</asp:Content>